/* 
    网页所有密码相关的api
*/
var express = require("express");
var router = express.Router();

const psd = '0112'; // 密码


//判断密码是否正确
router.get('/judge', (req, res) => {
    const curPsd = req.query.psd;
    if (curPsd == psd) {
        res.send("true")
    }
    else {
        res.send("false")
    }
});

module.exports = router
